﻿using UnityEngine;
using System.Collections;

namespace IMIForUnity
{
    public interface IPlayerInfo
    {
        /// <summary>
        /// 获取玩家所有骨骼信息
        /// </summary>
        ImiSkeleton[] GetSkeletons();

        /// <summary>
        /// 获取玩家所有骨骼被跟踪的状态
        /// </summary>
        /// <returns></returns>
        bool[] GetPlayerJointsTracked();

        /// <summary>
        /// 获取玩家所有骨骼位置
        /// </summary>
        /// <returns></returns>
        Vector3[] GetPlayerJointsPos();

        /// <summary>
        /// 获取玩家所有骨骼速度
        /// </summary>
        /// <returns></returns>
        Vector3[] GetPlayerJointsSpeed();

        /// <summary>
        /// 获取玩家id
        /// </summary>
        /// <returns></returns>
        int GetUserId();

        /// <summary>
        /// 获取玩家是否被检测到
        /// </summary>
        /// <returns></returns>
        bool GetPlayerTracked();

        /// <summary>
        /// 获取玩家现实坐标的位置
        /// </summary>
        /// <returns></returns>
        Vector3 GetPlayerPosition();

        /// <summary>
        /// 获取玩家所有肘关节的角度
        /// </summary>
        Vector3[] GetPlayerLimbsAngular();

    }

}